package me.wenlong.roomdemo.database

import android.arch.persistence.room.Database
import android.arch.persistence.room.RoomDatabase

/**
 *
 * 类的描述
 *
 * @author guowenlong
 * 创建时间:2018-11-13-下午11:53
 *
 */
@Database(entities = [OrderEntity::class, ImageEntity::class],version = 1)
abstract class OrderDatabase : RoomDatabase() {
    abstract fun getOrderDao(): OrderDao
    abstract fun getImageDao(): ImageDao
}